package com.zk.iotgateway.service;

/**
 * @Author mn
 * @Description
 * @Date 下午 05:23 2019/7/2 0002
 * @return  网关服务器启动服务
 **/
public interface IServerService {

    /*获取服务port*/
    public String getServicePort();

    /*初始化*/
    public boolean initialize();
    /*启动停止*/
    public boolean startService() throws Exception;
    public boolean stopService() throws Exception;

    public void release();

    public byte getState();
    /*是否运行*/
    public boolean isRunning();
}
